Static analysis of functional programs
نویسندگان
چکیده
In this paper, the static analysis of programs in the functional programming language Miranda* is described based on two graph models. A new control-flow graph model of Miranda definitions is presented, and a model with four classes of caligraphs. Standard software metrics are applicable to these models. A Miranda front end for Prometrixt, a tool for the automated analysis of flowgraphs and callgraphs, has been developed. This front end produces the flowgraph and callgraph representations of Miranda programs. Some features of the metric analyser are illustrated with an example program. The tool provides a promising access to standard metrics on functional programs.
منابع مشابه
The Effect of 8 Weeks Virtual Reality Training on Static and Dynamic Balance and Performance in Male Athletes With Functional Ankle Instability
Introduction: The purpose of this study is to investigate the effect of 8 weeks virtual reality training on static and dynamic balance and performance of in male athletes with functional ankle instability Research Methodology: For this research, 30 volleyball, basketball, football and handball players ranged from 18 to 25 years were selected purposefully from Tehran province league male a...
متن کاملFunctional Training Program Effect on Static and Dynamic Balance in Male Able-bodied Elderly
Objectives: Balance is an index to determine the level of independency of elderly (65 years and older) in their daily activities. The purpose of this study was to examine the effect of a functional training program on static and dynamic balance of elderly male able-bodied subjects. Methods & Materials: Thirty elderly male subjects (age:70.83±3 y, weight:70.60±2.44 kg, height:1.78±2.28 m) par...
متن کاملMetagene: a C++ meta-program generation tool
The C++ language offers a two layer evaluation model. Thus, it is possible to evaluate a program in two steps: the so-called static and dynamic evaluations. Static evaluation is used for reducing the amount of work done at execution-time. Programs executed statically (called metaprograms) are written in C++ through an intensive use of template classes. Due to the complexity of these structures,...
متن کاملStatic Dependency Pair Method in Rewriting Systems for Functional Programs with Product, Algebraic Data, and ML-Polymorphic Types
For simply-typed term rewriting systems (STRSs) and higher-order rewrite systems (HRSs) à la Nipkow, we proposed a method for proving termination, namely the static dependency pair method. The method combines the dependency pair method introduced for first-order rewrite systems with the notion of strong computability introduced for typed λ-calculi. This method analyzes a static recursive struct...
متن کاملTowards Static Analysis of Functional Programs Using Tree Automata Completion
This paper presents the first step of a wider research effort to apply tree automata completion to the static analysis of functional programs. Tree Automata Completion is a family of techniques for computing or approximating the set of terms reachable by a rewriting relation. The completion algorithm we focus on is parameterized by a set E of equations controlling the precision of the approxima...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Information & Software Technology
دوره 37 شماره
صفحات -
تاریخ انتشار 1995